public class test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.creatList();
        mySingleList.display();
        System.out.println();
        //mySingleList.addIndex(1,666);
        mySingleList.display();
        mySingleList.reserve();
        System.out.println();
        mySingleList.display();
        System.out.println("=====");
        mySingleList.addIndex(3,666);
        mySingleList.display();
        mySingleList.addIndex(0,666);
        mySingleList.display();

        mySingleList.addIndex(5,666);
        mySingleList.display();

        System.out.println("====");
        mySingleList.remove(23);
        mySingleList.display();
    }
}
